package com.rightsidetech.mall.service;

import com.github.pagehelper.PageInfo;
import com.rightsidetech.mall.dto.request.BrandPageReq;
import com.rightsidetech.mall.dto.request.BrandReq;
import com.rightsidetech.mall.dto.request.BrandUpdateReq;
import com.rightsidetech.mall.dto.response.BrandListResp;
import com.rightsidetech.mall.dto.response.BrandPageResp;
import com.rightsidetech.commom.base.DelReq;
import com.rightsidetech.commom.base.ResponseData;

import java.util.List;

public interface MallBrandService {

    ResponseData save(BrandReq req, String createName,Long createId);

    ResponseData updateBrand(BrandUpdateReq req,String updaterName,Long updaterId);

    ResponseData<PageInfo<BrandPageResp>> pageBrand(BrandPageReq req);

    ResponseData isDelete(DelReq req);

    ResponseData<List<BrandListResp>> selectList(String brandName);
}
